// Move menu bar function
function MoveMenuBar(direction) {
	if (!gameRunning)
	{
		switch(direction)
		{
			case "center":
				// move bar to center
				$("#mainMenuBar").css({"position" : "", "left" : "", "margin" : ""});
				break;
			case "left":
				// move bar to left side
				$("#mainMenuBar").css({"position" : "absolute", "left" : "20px", "margin" : "0"});
				break;
			default:
				break;
		}
	}
}